<!--#include virtual="/Common/Config.asp" -->
<!--#include virtual="/Common/conn.asp" -->
<!--#include virtual="/2010admin/Check_IsLogin.asp" -->
<!--#include virtual="/Common/Function.asp" -->
<!--#include file="Corp_Info_Inc.asp" -->
<%
If Request.ServerVariables ("Request_Method")="POST" Then
	Call Corp_Info_Action()	
Else
	
	Call Get_Corp_Info("Info_ID")
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><%=web_title%></title>
<link href="/2010admin/css/constyle.css" type="text/css" rel="stylesheet">
<script language="javascript" src="/2010admin/js/validator.js"></script>
<script language="javascript" src="/js/jquery.js"></script>
<script language="javascript" src="js/corp_info.js"></script>
<script type="text/javascript" src="/2010admin/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/2010admin/ckfinder/ckfinder.js"></script>

</head>
<body >
<div id="s-content" class="show">
	<div class="s-hd">
		<div class="s-hd-left">
		<span class="title"><strong><%=Action%>商家信息</strong></span> <span class="ii"> | </span> <span class="inavs"><a href="Corp_Info_Query.asp">返回商家列表</a></span>
        </div>
    </div>
    <div class="s-bd-inc">
        <table>
        <form name="form" method="post" action="" onSubmit="return Validator.Validate(this, 2)">
        <tr>
          <td>所在城市</td>
          <td><% AjaxSelected_BySql "City_ID","SELECT ID,CA_Name FROM City_Area WHERE Parent_ID=0 ORDER BY CA_Order ASC","",City_ID,"City_Change()" %></td>
        </tr>
        <tr>
          <td>所属区域</td>
          <td>
          <select name="Corp_City_Area" id="Corp_City_Area" style="width:120" >
          </select>
          </td>
        </tr>
        
        <tr>
          <td>企业大类</td>
          <td><% AjaxSelected_BySql "Big_ID","SELECT ID,Corp_Type_Name FROM Corp_Type WHERE Parent_ID=0 ORDER BY Corp_Order ASC","",Big_ID,"BigType_Change()" %></td>
        </tr>
        <tr>
          <td>企业小类</td>
          <td>
          <select name="Corp_Type" id="Corp_Type" style="width:120" >
          </select>
          </td>
        </tr>
        <tr>
          <td>企业名称</td>
          <td><input name="Corp_Name" class="itxt" type="text" id="Corp_Name" size="60" value="<%=Corp_Name%>" dtype="Limit" min="2" max="100" dmsg="企业名称必须在2-100个字符间"></td>
        </tr>
        <tr>
          <td>企业图片</td>
          <td>
          <input type="text" name="Corp_Pic"  class="itxt" value="<%=Corp_Pic%>" size="60" ><iframe id="d_file" class="iframestyle" frameborder="0" src="/2010admin/common/file_upload.asp?change_field=Corp_Pic" width="300" height="20" scrolling="no"></iframe>
         </td>
        </tr>
        
        <tr>
          <td>企业简介</td>
          <td>
                <textarea name="Corp_Detail" class="ckeditor"><%=Corp_Detail%></textarea>
          </td>
        </tr>
        
        <tr>
          <td>企业电话</td>
          <td><input name="Corp_Tel" type="text" id="Corp_Tel" class="itxt" size="60" value="<%=Corp_Tel%>" dtype="Limit" min="0" max="60" dmsg="电话必须小于60个字符间"></td>
        </tr>
        <tr>
          <td>企业传真</td>
          <td><input name="Corp_Fax" type="text" id="Corp_Fax" class="itxt" size="60" value="<%=Corp_Fax%>" dtype="Limit" min="0" max="20" dmsg="传真必须小于20个字符间"></td>
        </tr>
        <tr>
          <td>企业地址</td>
          <td><input name="Corp_Address" type="text" id="Corp_Address" class="itxt" size="60" value="<%=Corp_Address%>" dtype="Limit" min="0" max="60" dmsg="地址必须小于60个字符间">,简写地址<input name="Corp_Address_S" type="text" id="Corp_Address_S" class="itxt" size="20" value="<%=Corp_Address_S%>" dtype="Limit" min="0" max="20" dmsg="简写地址必须小于20个字符间"></td>
        </tr>
        <tr>
          <td>营业时间</td>
          <td><input name="Corp_Open" type="text" id="Corp_Open"  class="itxt"size="60" value="<%=Corp_Open%>" dtype="Limit" min="0" max="100" dmsg="营业时间必须小于100个字符间"></td>
        </tr>
        
        <tr>
          <td>主营业务</td>
          <td>
                <input name="Corp_Business" type="text" size="60" class="itxt" dtype="Limit" min="0" max="200" value="<%=Corp_Business%>"  dmsg="主营业务小于500个字符" >
          </td>
        </tr>
        <tr>
          <td>服务项目</td>
          <td><% Call Show_Corp_SI(Corp_SI)%>
          </td>
        </tr>
        <tr>
          <td>审核</td>
          <td>
		  <% MyRadioList "Corp_Audit","1,0","是,否",Corp_Audit %>
          </td>
        </tr>
         <tr>
          <td>加盟会员</td>
          <td>
		  <% MyRadioList "Corp_Gold_Flag","1,0","是,否",Corp_Gold_Flag %>
          </td>
        </tr>
       
        <tr>
          <td>&nbsp;</td>
          <td><input type="submit" name="submit" value="提交" class="button">&nbsp;<input type="reset" name="reset" value="取消" class="button"></td>
        </tr>
        <input type="hidden" name="Info_ID" value="<%=Info_ID%>">
        </form>
        </table>
    </div>

</div>

</body>
</html>
<script language="javascript">
<!--
var Corp_Type="<%=Corp_Type%>";

BigType_Change();

var Area_ID="<%=Corp_City_Area%>";

City_Change();

//-->
</script>

<%
Call conn_close()
%>

